package com.gopay.common.domain.bank.tpas;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

import com.gopay.common.constants.bank.tpas.TpasInterfaceEnum;
import com.gopay.common.domain.bank.BaseMessage;

public class TpasMessage extends BaseMessage implements Serializable {

    private static final long serialVersionUID = 7776036470924230334L;

    /**
     * 客户号，充值类的手机号，缴费类的客户号
     */
    private String outerCustID;
    /**
     * 交易类型,手机/流量/加油卡 充值，水/电/煤气 缴费等
     */
    private String transType;
    /**
     * 接口里要求的版本号
     */
    private String version;
    /**
     * 请求的接口
     */
    private TpasInterfaceEnum interfaceCode;
    
    /**
     * 以下为响应字段
     */
    private String retCode;
    private String retMsg;  
    
    /**
     * 手机号归属地
     */
    private String mobileBelong;
    /**
     * 手机号所属的运营商
     */
    private String mobileOperator;
    /**
     * 商品名，如江苏移动50元70M省内当日生效当月有效2G流量包
     */
    private String goodsName;
    
    public String getOuterCustID() {
        return outerCustID;
    }
    public void setOuterCustID(String outerCustID) {
        this.outerCustID = outerCustID;
    }
    public TpasInterfaceEnum getInterfaceCode() {
        return interfaceCode;
    }
    public void setInterfaceCode(TpasInterfaceEnum interfaceCode) {
        this.interfaceCode = interfaceCode;
    }
    public String getVersion() {
        return version;
    }
    public void setVersion(String version) {
        this.version = version;
    }
    public String getMobileBelong() {
        return mobileBelong;
    }
    public void setMobileBelong(String mobileBelong) {
        this.mobileBelong = mobileBelong;
    }
    public String getMobileOperator() {
        return mobileOperator;
    }
    public void setMobileOperator(String mobileOperator) {
        this.mobileOperator = mobileOperator;
    }
    public String getGoodsName() {
        return goodsName;
    }
    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }
    public String getTransType() {
        return transType;
    }
    public void setTransType(String transType) {
        this.transType = transType;
    }
    public String getRetCode() {
        return retCode;
    }
    public void setRetCode(String retCode) {
        this.retCode = retCode;
    }
    public String getRetMsg() {
        return retMsg;
    }
    public void setRetMsg(String retMsg) {
        this.retMsg = retMsg;
    }
	@Override
    public String toString() {
        return "TpasMessage [outerCustID=" + outerCustID + ", transType=" + transType + ", version=" + version
                + ", interfaceCode=" + interfaceCode + ", retCode=" + retCode + ", retMsg=" + retMsg + ", mobileBelong="
                + mobileBelong + ", mobileOperator=" + mobileOperator + ", goodsName=" + goodsName + "]";
    }
    
}
